import type { MessageType } from "ant-design-vue/es/message";
import { defineStore } from "pinia";

export default defineStore('app', () => {
    const loadingType = ref<MessageType>();
    const setloadingType = (type: MessageType) => {
        loadingType.value = type;
    }
    return { loadingType, setloadingType };
},
    {
        persist: {
            pick: []
        }
    });